docs: Fix a typo in the migration guide
authorMatthias Clasen <mclasen@redhat.com>
Fri, 11 Jun 2021 11:52:30 +0000 (07:52 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 11 Jun 2021 11:52:30 +0000 (07:52 -0400)
docs/reference/gtk/migrating-3to4.md

index 0ffe95a8b5c5ba501956f162db3492e7b36a0e41..ff2337e18f61aa52158ad47d4c2dc1911387d496 100644 (file)
@@ -133,7 +133,7 @@ or `gtk_style_context_get_color()` only accept the context's current
 state for their state argument. You should update all callers to pass
 the current state.
 
-### Stop using `gdk_pixbuf_get_from_window()` and `gdk_cairo_set_source_surface()`
+### Stop using `gdk_pixbuf_get_from_window()` and `gdk_cairo_set_source_window()`
 
 These functions are not supported in GTK 4. Instead, either use
 backend-specific APIs, or render your widgets using